package com.advertisementsystem.Dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class ScheduleStatusUpdateDTO {
    @NotBlank(message = "状态不能为空")
    @Pattern(regexp = "PENDING|RUNNING|COMPLETED|CANCELLED", message = "无效的状态值")
    private String status;
}
